﻿




using System;
using Hotpot.Infrastructure;
using Hotpot.Models;
using Hotpot.Modules.Blogs.Models;
using Hotpot.Modules.Tags.Models;

namespace Hotpot.Modules.Blogs.Repositories
{
    public interface IBlogsCommentRepository
    {
        PostCommentShell GetComment(string blogName, string postSlug, string commentSlug);
        IPageOfItems<PostCommentShell> GetComments(PagingInfo pagingInfo, bool includePending, bool sortDescending);
        IPageOfItems<PostCommentShell> GetComments(PagingInfo pagingInfo, Blog blog);
        IPageOfItems<PostCommentShell> GetComments(PagingInfo pagingInfo, Post post, bool includeUnapproved);
        IPageOfItems<PostCommentShell> GetComments(PagingInfo pagingInfo, Tag tag);
        PostComment Save(PostComment comment, string blogName, string postSlug);
    }
}
